package tm.pojo.dto;

import java.util.List;

/**
 * @author Rocky
 * @create 2022-09-27 18:02
 */
public class LoveResultAnswer {

    private List<AllLoveQuestionAndAnswerDTO>allLoveQuestionAndAnswerList;

    private Integer userId;

    private Long createtime;

    private Integer deviationA=10;

    private Integer deviationB=10;

    private Integer deviationC=10;

    private Integer deviationD=10;

    private Integer deviationE;

    public LoveResultAnswer() {
    }

    private LoveResultAnswer(Builder builder) {
        setAllLoveQuestionAndAnswerList(builder.allLoveQuestionAndAnswerList);
        setUserId(builder.userId);
        setCreatetime(builder.createtime);
        setDeviationA(builder.deviationA);
        setDeviationB(builder.deviationB);
        setDeviationC(builder.deviationC);
        setDeviationD(builder.deviationD);
        setDeviationE(builder.deviationE);
    }

    public List<AllLoveQuestionAndAnswerDTO> getAllLoveQuestionAndAnswerList() {
        return allLoveQuestionAndAnswerList;
    }

    public void setAllLoveQuestionAndAnswerList(List<AllLoveQuestionAndAnswerDTO> allLoveQuestionAndAnswerList) {
        this.allLoveQuestionAndAnswerList = allLoveQuestionAndAnswerList;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }

    public Integer getDeviationA() {
        return deviationA;
    }

    public void setDeviationA(Integer deviationA) {
        this.deviationA = deviationA;
    }

    public Integer getDeviationB() {
        return deviationB;
    }

    public void setDeviationB(Integer deviationB) {
        this.deviationB = deviationB;
    }

    public Integer getDeviationC() {
        return deviationC;
    }

    public void setDeviationC(Integer deviationC) {
        this.deviationC = deviationC;
    }

    public Integer getDeviationD() {
        return deviationD;
    }

    public void setDeviationD(Integer deviationD) {
        this.deviationD = deviationD;
    }

    public Integer getDeviationE() {
        return deviationE;
    }

    public void setDeviationE(Integer deviationE) {
        this.deviationE = deviationE;
    }

    public static final class Builder {
        private List<AllLoveQuestionAndAnswerDTO> allLoveQuestionAndAnswerList;
        private Integer userId;
        private Long createtime;
        private Integer deviationA;
        private Integer deviationB;
        private Integer deviationC;
        private Integer deviationD;
        private Integer deviationE;

        public Builder() {
        }

        public Builder allLoveQuestionAndAnswerList(List<AllLoveQuestionAndAnswerDTO> val) {
            allLoveQuestionAndAnswerList = val;
            return this;
        }

        public Builder userId(Integer val) {
            userId = val;
            return this;
        }

        public Builder createtime(Long val) {
            createtime = val;
            return this;
        }

        public Builder deviationA(Integer val) {
            deviationA = val;
            return this;
        }

        public Builder deviationB(Integer val) {
            deviationB = val;
            return this;
        }

        public Builder deviationC(Integer val) {
            deviationC = val;
            return this;
        }

        public Builder deviationD(Integer val) {
            deviationD = val;
            return this;
        }

        public Builder deviationE(Integer val) {
            deviationE = val;
            return this;
        }

        public LoveResultAnswer build() {
            return new LoveResultAnswer(this);
        }
    }
}
